﻿@model Angel.Web.Models.DeleteGroupModel

@{
    ViewBag.Title = "Delete Group";
}

<body id="jira" class="aui-layout aui-theme-default page-type-admin ">
	<div id="page">
		<section id="content" role="main">
            <header>
				<h1 id="admin-page-heading">Groups</h1>
			</header>
			<div class="content-container">
				<div class="content-body aui-panel">
					<table class="jiraform maxWidth">
						<tbody>
							<tr class="titlerow">
								<td colspan="2" class="jiraformheader">										
									<h3 class="formtitle">Delete Group: @Html.DisplayFor(model => model.name)</h3>
                                    @Html.HiddenFor(model => model.name)											
								</td>
							</tr>
							<tr class="descriptionrow">
								<td colspan="2" class="jiraformheader">
									<div class="desc-wrap">
										<p>If you delete a group, all users in that group will be removed from the group first.</p>
										<p>Deleting a group will not delete any users.</p>
									</div>
								</td>
							</tr>
							<tr class="buttons-container">
								<td colspan="1">
									<div class="buttons-container">
										<div class="buttons">
                                            @using (Html.BeginForm()) 
                                            {
                                                <p>
                                                    <input type="submit" value="Delete" id="delete_submit"class="aui-button ">
                                                    @Html.ActionLink("Back to List", "Index")
                                                </p>
                                            }
										</div>
									</div>
								</td>
							</tr>
						</tbody>
					</table>	
				</div>
			</div>
		</section>
	</div>
</body>